package com.runfast.waimai.dao.model;

import java.io.Serializable;
import java.util.Date;

public class RunfastCustom implements Serializable {
    private Integer id;

    private Date createtime;

    private String mobile;

    private String qrcode;

    private Integer agenid;

    private String agenname;

    private Integer ismaster;

    private Integer type;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public RunfastCustom withId(Integer id) {
        this.setId(id);
        return this;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public RunfastCustom withCreatetime(Date createtime) {
        this.setCreatetime(createtime);
        return this;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getMobile() {
        return mobile;
    }

    public RunfastCustom withMobile(String mobile) {
        this.setMobile(mobile);
        return this;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getQrcode() {
        return qrcode;
    }

    public RunfastCustom withQrcode(String qrcode) {
        this.setQrcode(qrcode);
        return this;
    }

    public void setQrcode(String qrcode) {
        this.qrcode = qrcode == null ? null : qrcode.trim();
    }

    public Integer getAgenid() {
        return agenid;
    }

    public RunfastCustom withAgenid(Integer agenid) {
        this.setAgenid(agenid);
        return this;
    }

    public void setAgenid(Integer agenid) {
        this.agenid = agenid;
    }

    public String getAgenname() {
        return agenname;
    }

    public RunfastCustom withAgenname(String agenname) {
        this.setAgenname(agenname);
        return this;
    }

    public void setAgenname(String agenname) {
        this.agenname = agenname == null ? null : agenname.trim();
    }

    public Integer getIsmaster() {
        return ismaster;
    }

    public RunfastCustom withIsmaster(Integer ismaster) {
        this.setIsmaster(ismaster);
        return this;
    }

    public void setIsmaster(Integer ismaster) {
        this.ismaster = ismaster;
    }

    public Integer getType() {
        return type;
    }

    public RunfastCustom withType(Integer type) {
        this.setType(type);
        return this;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", createtime=").append(createtime);
        sb.append(", mobile=").append(mobile);
        sb.append(", qrcode=").append(qrcode);
        sb.append(", agenid=").append(agenid);
        sb.append(", agenname=").append(agenname);
        sb.append(", ismaster=").append(ismaster);
        sb.append(", type=").append(type);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}